package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.UserStudyRecords;
import com.danciyixue.boot.dcyx.model.form.UserStudyRecordsForm;

/**
 * 用户学习记录对象转换器
 *
 * @author youlaitech
 * @since 2025-06-15 17:26
 */
@Mapper(componentModel = "spring")
public interface UserStudyRecordsConverter{

    UserStudyRecordsForm toForm(UserStudyRecords entity);

    UserStudyRecords toEntity(UserStudyRecordsForm formData);
}